#ifndef FFT_H
#define FFT_H

#ifndef OPENCVSTL
#define OPENCVSTL
#include <opencv2/opencv.hpp>
#include <iostream>
using namespace cv;
using namespace std;
#endif

#include <complex>
#include <math.h>
#include <assert.h>
int Powerof2(int width, int *m, int *twopm);
int FFT(int dir,int m,double *x,double *y);
int FFT2D(Mat& c,int nx,int ny,int dir);


#endif